package com.ht.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("house_information")
public class HouseInformationBean {
    private Long id;                // id
    private Character mode;         // 模式 0租赁 1售卖
    private Double price;           // 保证金
    private String info;            // 房屋描述
    @TableField("house_status")
    private Character status;       // 房源状态 0不可交易 1可交易
    private Long publisher;         // 关联字段房源发布者
    @TableField("release_time")
    private Date releaseTime;       // 发布时间
    @TableField("handled_by")
    private String handledBy;       // 经手人
    @TableLogic
    private String deleted;         // 逻辑删除

}
